﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MN.Framework.MetaData
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = false, Inherited = true)]
    public class SearchFieldsAttribute : Attribute
    {
        string[] _searchFields;
        public SearchFieldsAttribute(params string[] searchFields)
        {
            _searchFields = searchFields;
        }

        public string[] GetSearchFields()
        {
            return _searchFields;
        }
    }
}
